package com.pzl.mapper;

import com.pzl.entity.Role;
import com.pzl.entity.User;

import java.util.List;

/**
 * RoleDao class
 *
 * @Author panzhenglei
 * @Date 2019/6/8 11:38 AM
 */
public interface RoleDao {

    public List<Role> findAll();

    public int save(String roleName,String roleDesc);

    public Long selectId() throws Exception;

    public List<Role> selectRid(User user) throws Exception;

}
